:root {
    --primary-color: #fd7e14;
    --primary-light: #ffedd5;
    --blue-color: #007bff;
    --green-color: #28a745;
    --orange-color: #fd7e14;
}

.font-geist-mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    letter-spacing: -0.02em;
}

/* Insight Cards */
.insight-card {
    background-color: white;
    border-radius: 0.5rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.insight-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.insight-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

/* Chart Tabs */
.chart-tab {
    padding: 0.375rem 1rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    transition: all 0.2s ease-in-out;
}

.chart-tab:hover {
    background-color: rgba(249, 250, 251, 0.8);
}

.chart-tab.active {
    background-color: var(--primary-color);
    color: white;
}

/* System Analysis Cards */
.system-analysis-card {
    border-radius: 0.5rem;
    padding: 1.5rem;
    border: 1px solid;
    position: relative;
    transition: transform 0.2s ease-in-out;
    overflow: hidden;
}

.system-analysis-card:hover {
    transform: translateY(-3px);
}

.system-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.system-icon i {
    width: 1.5rem;
    height: 1.5rem;
}

.stat-box {
    padding: 0.75rem;
    border-radius: 0.375rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Recommendation Cards */
.recommendation-card {
    border-radius: 0.5rem;
    padding: 1.5rem;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

.recommendation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.rec-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
}

.rec-icon i {
    width: 1.25rem;
    height: 1.25rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.system-analysis-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.system-analysis-card[data-system="pnx"] {
    animation-delay: 0.1s;
}

.system-analysis-card[data-system="genesys"] {
    animation-delay: 0.3s;
}

.system-analysis-card[data-system="uc"] {
    animation-delay: 0.5s;
}

.insight-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

.insight-card:nth-child(2) {
    animation-delay: 0.3s;
}

.insight-card:nth-child(3) {
    animation-delay: 0.4s;
}

.recommendation-card {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
    animation-delay: 0.3s;
}

.recommendation-card:nth-child(2) {
    animation-delay: 0.4s;
}

.recommendation-card:nth-child(3) {
    animation-delay: 0.5s;
}

/* Table styling */
table {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
}

th {
    font-weight: 500;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    padding: 0.75rem 1rem;
}

td {
    padding: 1rem;
    vertical-align: middle;
    font-size: 0.875rem;
}

tbody tr {
    transition: background-color 0.2s;
}

tbody tr:hover {
    background-color: rgba(249, 250, 251, 0.8);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .insight-card, .system-analysis-card, .recommendation-card {
        padding: 1.25rem;
    }
    
    .stat-box {
        padding: 0.5rem;
    }
}
